package edu.ustb.mapper;

import org.apache.ibatis.annotations.Param;

import edu.ustb.domain.User;

public interface UserXiumiMapper {
		User findByPhone(String userPhone);
		
		int UpdateByPhoneName(@Param("userPhone")String userPhone,@Param("userPassword")String userPassword);
		
		int UpdateByEmailName(@Param("userEmail")String userEmail,@Param("userPassword")String userPassword);

		int addYzmByPhone(@Param("userYzm")String userYzm ,@Param("userPhone")String userPhone);

		User findByEmail(String userEmail);

		int addYzmByEmail(@Param("userYzm")String userYzm ,@Param("userEmail")String userEmail);
}
